<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\User */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="user-form">

    <?php $form = ActiveForm::begin(); ?>
	<div class="form-group field-loginform-password required">
		<label class="control-label" for="loginform-password">原密码</label> <input
			type="password" id="user-password" class="form-control"
			name="User[password]">
	</div>
	<div class="form-group field-loginform-password required">
		<label class="control-label" for="loginform-password">新密码</label> <input
			type="password" id="user-rpassword" class="form-control"
			name="User[rpassword]">
	</div>
	<div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success' ])?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
